package com.hut.oa.model.dao.role;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.hut.oa.model.bean.Menu;
import com.hut.oa.model.bean.Role;

public interface RoleDao extends PagingAndSortingRepository<Role, Long>{

	List<Role> findAll();
	
	Page<Role> findAll(Pageable pageable);
	
	Role findById(Long id);
}
